home *** CD-ROM | disk | FTP | other *** search
- on mouseEnter
- global gCD
- if gCD <> VOID then
- set the cursor of sprite the currentSpriteNum to [the number of member "finger", the number of member "fingermask"]
- end if
- end
-
- on mouseDown me
- global gCDtrackplaying, gCD, gHowManyTracksOnAlbum
- if gCD <> VOID then
- set trackToPLay to the spriteNum of me - 5
- play(gCD, trackToPLay, gHowManyTracksOnAlbum)
- end if
- end
-
- on mouseUp me
- global gCDtrackplaying, gCD, gHowManyTracksOnAlbum
- if gCD <> VOID then
- set the member of sprite (gCDtrackplaying + 5) to "audiosong" & string(gCDtrackplaying) & "w"
- set gCDtrackplaying to the spriteNum of me - 5
- set the member of sprite the currentSpriteNum to "audiosong" & string(gCDtrackplaying) & "r"
- set the member of sprite 1 to "audiobg" & string(gCDtrackplaying)
- end if
- end
-
- on mouseLeave
- set the cursor of sprite the currentSpriteNum to 0
- end
-